package com.qcby.vo;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class TOrderDetailVO {
    private Integer orderId;
    private Integer userId;
    private String userName;
    private Integer addressId;
    private String receiverName;
    private String receiverPhone;
    private String address;
    private LocalDateTime orderTime;
    private String orderStatus;
    private String deliveryStatus;
    private LocalDateTime payTime;
    private LocalDateTime refundTime;
    private BigDecimal totalPrice;
    private List<OrderItemVO> items;
    
    @Data
    public static class OrderItemVO {
        private Integer productId;
        private String productName;
        private String productPic;
        private BigDecimal price;
        private Integer quantity;
        private BigDecimal subtotal;
    }
} 